﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mobile/mobileMaster.master" AutoEventWireup="true"
    CodeFile="CategoryArticle.aspx.cs" Inherits="mobile_CategoryArticle" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContentPlaceHolder" runat="Server">
    <asp:Literal runat="server" ID="PageTitle"></asp:Literal>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="color: #fff; padding: 20px 10px; margin-bottom: 0;">
        <h1 id="spCategoryName" runat="server">
            </h1>
    </div>
    <div class="content">
        <article class="underline">
    <asp:Repeater runat="server" ID="rptCategoryArticles">
            <ItemTemplate>
                <div class="left_other_news" style="margin-right: 34px;">
                    <a href="<%# GenerateURL(DataBinder.Eval(Container.DataItem, "Articls_Title"),DataBinder.Eval(Container.DataItem, "Articls_ID")) %>">
                        <img width="100" height="100" src="<%# DataBinder.Eval(Container.DataItem, "Articls_Image")%>" title="<%# DataBinder.Eval(Container.DataItem, "Articls_Title")%>" alt="<%# DataBinder.Eval(Container.DataItem, "Articls_Title")%>" /></a>
                    <div class="content">
                        <h4>
                            <a href="<%# GenerateURL(DataBinder.Eval(Container.DataItem, "Articls_Title"),DataBinder.Eval(Container.DataItem, "Articls_ID")) %>">
                                <%# DataBinder.Eval(Container.DataItem, "Articls_Title")%></a></h4>
                        <span class="date">
                            <%# GetDateFormat(DataBinder.Eval(Container.DataItem, "Articls_CreateDate").ToString())%></span>
                    </div>
                </div>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <div class="left_other_news" style="margin-right: 0;">
                    <a href="<%# GenerateURL(DataBinder.Eval(Container.DataItem, "Articls_Title"),DataBinder.Eval(Container.DataItem, "Articls_ID")) %>">
                        <img width="100" height="100" src="<%# DataBinder.Eval(Container.DataItem, "Articls_Image")%>" title="<%# DataBinder.Eval(Container.DataItem, "Articls_Title")%>" alt="<%# DataBinder.Eval(Container.DataItem, "Articls_Title")%>" /></a>
                    <div class="content">
                        <h4>
                            <a href="<%# GenerateURL(DataBinder.Eval(Container.DataItem, "Articls_Title"),DataBinder.Eval(Container.DataItem, "Articls_ID")) %>">
                                <%# DataBinder.Eval(Container.DataItem, "Articls_Title")%></a>
                        </h4>
                        <span class="date">
                            <%# GetDateFormat(DataBinder.Eval(Container.DataItem, "Articls_CreateDate").ToString())%></span>
                    </div>
                </div>
            </AlternatingItemTemplate>
        </asp:Repeater>
        </article>
    </div>
        <table width="100%">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr style="width: 100%; height: 30px;">
            <td align="center" dir="rtl">
                <asp:PlaceHolder ID="plcPaging" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
